package com.gwnet.rider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gwnet.rider.domain.RiderWithdrawCash;
import com.gwnet.rider.domain.bo.ApplyWithdrawalBO;
import com.gwnet.rider.domain.bo.RiderWithdrawCashPageBO;

/**
 * <p>
 * 骑手提现申请表 服务类
 * </p>
 *
 * @author WangLiang
 * @since 2024-08-06
 */
public interface RiderWithdrawCashService extends IService<RiderWithdrawCash> {

    /**
     * 骑手申请提现
     * @param withdrawalBO
     * @return
     */
    Boolean applyWithdrawal(ApplyWithdrawalBO withdrawalBO);

    /**
     * 分页查询提现记录
     * @param pageBO
     * @return
     */
    IPage<RiderWithdrawCash> page(RiderWithdrawCashPageBO pageBO);

}
